import request from '@/utils/request'

// 查询(教育-学生)学生续费订单列表
export function listStudentorder(data) {
  return request({
    url: '/school/studentorder/list',
    method: 'post',
    data: data
  })
}

// 查询(教育-学生)学生续费订单详细
export function getStudentorder(id) {
  return request({
    url: '/school/studentorder/' + id,
    method: 'get'
  })
}

// 新增(教育-学生)学生续费订单
export function addStudentorder(data) {
  return request({
    url: '/school/studentorder/add',
    method: 'post',
    data: data
  })
}

// 修改(教育-学生)学生续费订单
export function updateStudentorder(data) {
  return request({
    url: '/school/studentorder/edit',
    method: 'post',
    data: data
  })
}

// 废弃订单
export function abandonment(id) {
  return request({
    url: '/school/studentorder/abandonment/' + id,
    method: 'post'
  })
}
